package com.nw.game.service;

import com.alibaba.fastjson.JSONObject;
import com.nw.game.mapper.BackstageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class BackstageServer {
    @Autowired
    BackstageMapper backstageMapper;
    public String getAllUser(){
        return JSONObject.toJSONString(backstageMapper.findAll());
    }
}
